package com.caiheng.api.service.titlemenu;


import com.caiheng.api.entity.titlemenu.TitleMenuSection;
import com.caiheng.api.entity.wxuser.User;
import com.caiheng.api.service.base.BaseService;

import java.util.List;

public interface TitleMenuSectionService  extends BaseService<TitleMenuSection> {

    /**
     * 根据title_menu_id查询列表
     * @return
     */
    List<TitleMenuSection> selectByMenuDefault(User user, String platform,Integer pageIndex, Integer pageSize);

    /**
     * 根据title_menu_id查询列表
     * @return
     */
    List<TitleMenuSection> selectBySectionByLocation(User user, Integer pageIndex, Integer pageSize,double lng,double lat,String platform);

    /**
     * 根据title_menu_id查询列表
     * @return
     */
    List<TitleMenuSection> selectByMenuId(User user, Integer titleMenuId, String platform, Integer pageIndex, Integer pageSize);
}
